@model SeventhSenseSystems.HighFlyingPm.Business.Entities.Issue

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Issue</legend>

    <div class="display-label">Subject</div>
    <div class="display-field">@Model.Subject</div>

    <div class="display-label">IssueStatuseId</div>
    <div class="display-field">@Model.IssueStatuseId</div>

    <div class="display-label">AssingedToId</div>
    <div class="display-field">@Model.AssingedToId</div>

    <div class="display-label">IssueStatus</div>
    <div class="display-field">@(Model.IssueStatus == null ? "None" : Model.IssueStatus.Name)</div>

    <div class="display-label">Project</div>
    <div class="display-field">@(Model.Project == null ? "None" : Model.Project.Name)</div>

    <div class="display-label">Author</div>
    <div class="display-field">@(Model.Author == null ? "None" : Model.Author.LastName)</div>

    <div class="display-label">AssignedTo</div>
    <div class="display-field">@(Model.AssignedTo == null ? "None" : Model.AssignedTo.LastName)</div>

    <div class="display-label">Tracker</div>
    <div class="display-field">@(Model.Tracker == null ? "None" : Model.Tracker.Name)</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>


